import request from '@/request/request'

//发送短信验证码
export function sendPhoneCode(data) {
	return request({
		// loading: true,
		url: '/SMSCode',
		method: 'get',
		headers: {
			isToken: false
		},
		data:data
	})
}

//登录
export function loginApp(data) {
	return request({
		loading: true,
		url: '/business/driver_app/login',
		method: 'post',
		headers: {
			isToken: false
		},
		data:data
	})
}
// 获取用户信息
export function getUserInfo(data) {
  return request({
    url: '/business/driver_app/getInfo',
    method: 'get',
		data:data
  })
}
// 修改密码
export function updatePassword(data) {
  return request({
    url: '/business/driver_app/updatePassword',
    method: 'get',
		data:data
  })
}